package com.sikaryofficial.qrcode.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author : qinjinyuan
 * @desc : 活动相关配置
 * @date : 2024/06/03 13:36
 */
@Getter
@Setter
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "hismk.qrcode.activity")
public class ActivityConfig {
    private Long specialActivityId;
    private List<Long> specialProductIds;
    /**
     * 是否显示隐藏活动ID 开关
     * true 显示 false 不显示
     */
    private boolean hasDisplayActivityId;

    private Integer activityType;
}
